//
//  DIYdetailViewModel.h
//  BigJoy
//
//  Created by Rowling on 2017/6/22.
//  Copyright © 2017年 Rowling. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "TextFieldCanMoceView.h"
#import "XMbaseCanMoveView.h"
@interface DIYdetailViewModel : NSObject
-(void)bindVC:(UIView *)VC;

@property (nonatomic,strong) RACSubject *subject;
@property (nonatomic,strong) NSMutableArray <XMbaseCanMoveView *>*elementArray;
@property (nonatomic,strong) NSMutableArray <TextFieldCanMoceView *>*elementEditArray;
@property (nonatomic,strong) TextFieldCanMoceView *cureentView;
- (void)openPhotoFile;
- (void)openCamera;
-(void)editingEnabelTextViewTapCurrentTextView:(BOOL)enable;
-(void)remoMoveView:(XMbaseCanMoveView *)View;// 删除元素
-(void)addToolView;
-(void)endEidting;
@end
